﻿using BrnMall.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BrnMall.Services
{
    public partial class PrintRecords
    {
        public static int GetPrintOid(int storeid) {
            return BrnMall.Manager.Manager.Order.PrintRecords.GetPrintOid(storeid);
        }


        public static int InsertPrintRecord(PrintRecord pr) {
            return BrnMall.Manager.Manager.Order.PrintRecords.InsertPrintRecord(pr);
        }

        public static int UpdatePrintRecord(PrintRecord pr) {
            return BrnMall.Manager.Manager.Order.PrintRecords.UpdatePrintRecord(pr);
        }

        public static int GetStoreIDByUid(int Uid) {
            return BrnMall.Manager.Manager.Order.PrintRecords.GetStoreIDByUid(Uid);
        }

        public static int GetPrintRecordsByOid(int StoreId, int Oid) {
            return BrnMall.Manager.Manager.Order.PrintRecords.GetPrintRecordsByOid(StoreId, Oid);
        }
    }
}
